//
//  WiFiSendManager.h
//  LJLAirCleanr
//
//  Created by make on 2017/4/14.
//  Copyright © 2017年 make. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WiFiSendManager : NSObject

// 开关电源
+ (void)turnOnPowerWithMacAddres:(NSString *)macAddress value:(NSString *)value;

// 童锁
+ (void)turnOnOffLockWithMacAddres:(NSString *)macAddress value:(NSString *)value;

// 背光
+ (void)turnOnOffLightWithMacAddres:(NSString *)macAddress value:(NSString *)value;

// 睡眠模式
+ (void)turnOnOffSleepWithMacAddres:(NSString *)macAddress value:(NSString *)value;

// 设置温度
+ (void)settingTemeratureWithMacAddres:(NSString *)macAddress value:(NSString *)value;

// 设置时间
+ (void)settingTimeWithMacAddres:(NSString *)macAddress value:(NSString *)value;


/**
 同步指令
 */
+ (void)syncInfo:(NSString *)macAddress;


/**
 模式切换

 @param macAddress mac
 
 @param value
 
 0x00	关机模式
 0x01	自动模式
 0x02	睡眠模式

 */
+ (void)toggleModel:(NSString *)macAddress value:(NSString *)value;


/**
 风速档位切换

 @param macAddress mac
 @param value 
 0x00	一档
 0x01	二档
 0x02	三挡

 */
+ (void)toggleSpeed:(NSString *)macAddress value:(NSString *)value;


/**
 定时

 @param macAddress mac
 @param weekStr 定时重复运行，第8位表示，1-7表示(周，按位表示从右到左，周一到周天)
 @param beginArray 开始时间
 @param runArray 运行时长
 @param speed 档位
 */
+ (void)timingSetting:(NSString *)macAddress weekStr:(NSString *)weekStr beginTime:(NSArray *)beginArray runTime:(NSArray *)runArray speed:(NSString *)speed isOn:(NSString *)isOn;


+ (void)getTiming:(NSString *)macAddress;
@end
